package com.douziit.meilianoa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.douziit.meilianoa.base.request.PageRequest;
import com.douziit.meilianoa.entity.LogInfo;
import com.douziit.meilianoa.mapper.LogInfoMapper;
import com.douziit.meilianoa.service.LogInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 操作日志服务实现类
 */
@Service
public class LogInfoServiceImpl extends ServiceImpl<LogInfoMapper, LogInfo> implements LogInfoService {

    @Autowired
    private LogInfoMapper logInfoMapper;

    @Override
    public List<LogInfo> listLogInfo(PageRequest req) {
        return logInfoMapper.listLogInfo(req);
    }
}
